let o = { x: 1 };
let p = { y: 2 };
Object.setPrototypeOf(o, p);
console.log(o.y); // 2
let a = [1, 2, 3];
Object.setPrototypeOf(a, p);
console.log(a.join); // undefined
